package com.fas.system.service;

import com.alibaba.fastjson.JSONObject;
import com.fas.common.core.domain.AjaxResult;
import com.fas.common.core.domain.entity.SysUser;
import com.fas.system.domain.FasInspectionLine;
import com.fas.system.domain.vo.*;

import java.util.List;

public interface IFasInspectionLineService {

    List<FasInspectionLine> queryAll(FasInspectionLine fasInspectionLine);

    FasInspectionLine findById(Long id);

    int insertFasInspectionLine(FasInspectionLine fasInspectionLine);

    int updateFasInspectionLine(FasInspectionLine fasInspectionLine);

    AjaxResult deleteFasInspectionLine(Long[] ids);

    List<FasFacilitiesInspection> findFacility(FasFacilitiesInspection fasFacilitiesInspection);

    List<IpqcInspectionLine> miniappIpqcLine(Integer userId, Integer deptId,Integer lineStatus);

    JSONObject miniappIpqcLineBuilding(Long taskId);

    List miniappIpqcCenterLine(Integer lineStatus, Integer pageNum, Integer pageSize, Integer orderType, SysUser user);

    List<IpqcLineBuildingFacilityVo> miniappIpqcLineBuildingFacility(Long taskId,String buildingName);

    List<BuildingTreeFacility> searchFacilityListV2(InspectionLineBuildingFacilityVo inspectionLineBuildingFacilityVo);
}
